﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;

namespace TodoApp.TMS_SetUp.Departments
{
    public interface ITMS_DepartmentRerepository
    {
        Task<int> CreateDepartment(TMS_Department tMS_Department);
        Task<int> DeleteDepartment(string id);
        Task<PageResponse<TMS_DepartmentDto>> GetDepartmentDto(string name, int pageindex = 1, int pagesize = 5);
        Task<int> UpdateDepartmentDto(TMS_DepartmentDto tMS_DepartmentDto);
    }
}
